package com.antrain.his.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author antrain
 * @since 2020-09-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Invoice implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID主键
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    /**
     * 发票号码
     */
    @TableField("InvoiceNum")
    private String InvoiceNum;

    /**
     * 发票金额
     */
    @TableField("Money")
    private BigDecimal Money;

    /**
     * 发票状态  1-正常  2-作废 
     */
    @TableField("State")
    private Integer State;

    /**
     * 收/退费时间 
     */
    @TableField("CreationTime")
    private LocalDateTime CreationTime;

    /**
     * 收/退费人员ID 
     */
    @TableField("UserID")
    private Integer UserID;

    /**
     * 挂号ID 
     */
    @TableField("RegistID")
    private Integer RegistID;

    /**
     * 收费方式 
     */
    @TableField("FeeType")
    private Integer FeeType;

    /**
     * 冲红发票号码
     */
    @TableField("Back")
    private String Back;

    /**
     * 发票状态  0-未日结  1-已提交  2-已审核 
     */
    @TableField("DailyState")
    private Integer DailyState;


}
